package com.lcf.system.dto.dict;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 字典值(SysDict)表实体类
 *
 * @author lcf
 * @since 2025-03-16 22:04:23
 */
@NoArgsConstructor
@Data
public class SysDictDTO {
    //类型id
    @Schema(description = "类型id")
    @NotNull(message = "类型id不能为空")
    private Long typeId;
    //字典值
    @Schema(description = "字典值")
    @NotBlank(message = "字典值不能为空")
    private String dictValue;
    //字典名称
    @Schema(description = "字典名称")
    @NotBlank(message = "字典名称不能为空")
    private String dictName;
    //排序
    @Schema(description = "排序")
    @NotNull(message = "排序不能为空")
    private Integer sortOrder;
    //备注
    @Schema(description = "备注")
    private String remark;
}

